// 项目入口文件，项目全局配置
import { createApp } from 'vue'
import 'normalize.css'  //全局的样式重置
import 'animate.css'  //动画样式库
import App from './App.vue' //跟组件
import router from './router/index.js'
import {createPinia} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate) //为pinia添加持久化插件
let app = createApp(App)
app.use(router)  //路由注入
app.use(pinia)  //配置状态机模块
app.mount('#app')
